Skip to content

streams/memory: Ensure internal string is NUL terminated#20812

Merged
ndossche merged 1 commit intophp:PHP-8.4from
ndossche:memory-sucks
Jan 2, 2026
Merged

streams/memory: Ensure internal string is NUL terminated#20812
ndossche merged 1 commit intophp:PHP-8.4from
ndossche:memory-sucks

Conversation

@ndossche
Copy link
Copy Markdown
Member

zend_string_truncate() doesn't put a NUL byte.

zend_string_truncate() doesn't put a NUL byte.
@ndossche ndossche marked this pull request as ready for review December 31, 2025 10:18
@ndossche ndossche requested a review from bukka as a code owner December 31, 2025 10:18
@ndossche ndossche merged commit 5484ebc into php:PHP-8.4 Jan 2, 2026
10 checks passed
ndossche added a commit that referenced this pull request Jan 2, 2026
* PHP-8.4:
  streams/memory: Ensure internal string is NUL terminated (#20812)
ndossche added a commit that referenced this pull request Jan 2, 2026
* PHP-8.5:
  streams/memory: Ensure internal string is NUL terminated (#20812)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants